#pragma once


// COperateDlg dialog

class COperateDlg : public CDialog
{
	DECLARE_DYNAMIC(COperateDlg)

public:
	COperateDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~COperateDlg();
	void setWinName(const CString& name){m_winName = name;};
	void setWinName(const wchar_t* name){m_winName.Format(name);};

// Dialog Data
	enum { IDD = IDD_DIALOG1 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	void	setDlgState(int nState);

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	int nArea;
	int nDesktop;
private:
	CString m_winName;
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedCombine();
	afx_msg void OnBnClickedArrive();
	afx_msg void OnBnClickedExchange();
	afx_msg void OnBnClickedLeave();
};
